package com.qd.common.panda.domain.entity.wallet.user;

import com.cdqidi.util.page.BaseQuery;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 用户退款统计
 *
 * @author sjk
 */
@EqualsAndHashCode(callSuper = true)
@Getter
@Setter
public class UserWalletRefundApplyStatisticsDTO extends BaseQuery {

    /**
     * 申请退款金额
     */
    private BigDecimal requestRefundAmount;
    /**
     * 申请退款赠送金额
     */
    private BigDecimal requestRefundGiveAmount;
    /**
     * 实际退款金额
     */
    private BigDecimal actualRefundAmount;
    /**
     * 实际退款赠送金额
     */
    private BigDecimal actualRefundGiveAmount;
    /**
     * 数量
     */
    private Long quantity;

    @Override
    public void freeData() {
        this.requestRefundAmount = null;
        this.requestRefundGiveAmount = null;
        this.actualRefundAmount = null;
        this.actualRefundGiveAmount = null;
        super.freeData();
    }
}
